<template>
	<h1 style="background: pink;">子的子,{{myMsg}}</h1>
	<button @click="changeCount(7)">点击加</button>
</template>

<script setup>
import { inject } from 'vue';
	let myMsg=inject("myMsg")
	console.log(myMsg)
	
	let changeCount=inject("changeCount");
	
</script>

<style>
</style>